import http from '../request.js'

// 查看支付宝账号
export function findZFB(data){
	return http({
		url:'/nurse/wallet/findNurseZFB',
		method:"get",
		data:data
	})
}
// 查看银行卡
export function findNurseBankCard(data){
	return http({
		url:'/nurse/wallet/findNurseBankCard',
		method:"get",
		data:data
	})
}
// 添加支付宝账号
export function addZFB(data){
	return http({
		url:'/nurse/wallet/addZFB',
		method:"POST",
		data:data
	})
}
// 解绑
export function deleteZFB(data){
	return http({
		url:'/nurse/wallet/deleteZFB',
		method:"get",
		data:data
	})
}
// 查看护士绑定的账号
export function findNurseZFB(data){
	return http({
		url:'/nurse/wallet/findNurseZFB',
		method:"get",
		data:data
	})
}


// 护士ID查询钱包
export function selectNurseWalletByNurseId(data){
	return http({
		url:'/nurse/wallet/selectNurseWalletByNurseId',
		method:"get",
		data:data
	})
}
// 查询钱包记录
export function selectOneWalletRecords(data){
	return http({
		url:'/nurse/wallet/selectOneWalletRecords',
		method:"get",
		data:data
	})
}



// 更新钱包
export function updateNurseWallet(data){
	return http({
		url:'/nurse/wallet/updateNurseWallet',
		method:"get",
		data:data
	})
}

// 获取体现信息
export function getWithdrawDepositMsg(data){
	return http({
		url:'/nurse/wallet/getWithdrawDepositMsg',
		method:"POST",
		data:data
	})
}

   
// 获取提现类型
export function withdrawalMethod(data){
	return http({
		url:'/nurse/wallet/withdrawalMethod',
		method:"get",
		data
	})
}

// 获取社工提现信息
export function socialWorkerWithdrawalMethod(data){
	return http({
		url:'/nurse/wallet/socialWorkerWithdrawalMethod',
		method:"get",
		data
	})
}

// 查询社工银行账户
export function socialWorkerFindNurseBankCard(data){
	return http({
		url:'/nurse/wallet/socialWorkerFindNurseBankCard',
		method:"get",
		data
	})
}

// 获取社工提现信息
export function getSocialWorkerWithdrawDepositMsg(data){
	return http({
		url:'/nurse/wallet/getSocialWorkerWithdrawDepositMsg',
		method:"POST",
		data:data
	})
}

// 提现
export function withdrawDeposit(data){
	return http({
		url:'/nurse/wallet/withdrawDeposit',
		method:"POST",
		data:data
	})
}

// 钱包设置支付密码短信发送
export function sendCode(data){
	return http({
		url:'/nurse/sms/sms',
		method:"post",
		data:data
	})
}

//查询护士待填写护理报告和待审核护理报告的订单列表
export function selectOrder(data){
	return http({
		url:'/nurse/wallet/selectOrderByNurseId',
		method:"POST",
		data:data
	})
}

//催审核护理报告
export function urgeCheckNursingRecord(data){
	return http({
		url:'/nurse/wallet/urgeCheckNursingRecord',
		method:"GET",
		data:data
	})
}

//设置修改支付密码
export function updatePassword(data){
	return http({
		url:'/nurse/wallet/updatePassword',
		method:"POST",
		data:data
	})
}
//获取金额明细
export function selectWalletInfo(data){
	return http({
		url:'/nurse/wallet/selectWalletInfo',
		method:"GET",
		data:data
	})
}

//获取提现明细记录
export function selectAllWalletRecords(data){
	return http({
		url:'/nurse/wallet/selectAllWalletRecords',
		method:"POST",
		data:data
	})
}
export function addWXOpenId(data){
	return http({
		url:'/nurse/wallet/addWXOpenId',
		method:"POST",
		data:data
	})
}
export function deleteWXOpenId(data){
	return http({
		url:'/nurse/wallet/deleteWXOpenId',
		method:"GET",
		data:data
	})
}
export function findNurseWXOpenId(data){
	return http({
		url:'/nurse/wallet/findNurseWXOpenId',
		method:"GET",
		data:data
	})
}


//获取金额明细
export function selectSocialWorkerWalletInfo(data){
	return http({
		url:'/nurse/wallet/selectSocialWorkerWalletInfo',
		method:"GET",
		data
	})
}


//获取社工提现明细记录
export function selectSocialWorkerWalletRecords(data){
	return http({
		url:'/nurse/wallet/selectSocialWorkerWalletRecords',
		method:"POST",
		data
	})
}


